const tokey = 'tokey'
//存
const setTokey =obj=>{
    localStorage.setItem(tokey,JSON.stringify(obj))
}
//取
const getTokey =()=>{
    return JSON.parse(localStorage.getItem(tokey))
}
//删
const removeTokey =obj=>{
    localStorage.removeItem(tokey)
}
export {setTokey,getTokey,removeTokey}